package org.alex.samples.dao;

import java.util.List;

import org.alex.samples.model.ExamUserRole;
import org.alex.samples.model.User;

public interface IUserDAO extends IBaseDAO<User>{
    public List<User> findAllUsers();

	public User getUserById(String id);
	
	public void createUser(User user) throws Exception;
	
	public void editUser(User user) throws Exception;
	
	public void delete(String id) throws Exception;
	
	public ExamUserRole getExamUserRoleByUserId(String userId);
}


//public void createUser(User user) throws Exception;
//public void editUser(User user) throws Exception;
//public void delete(Integer id) throws Exception;